
n = int(input())
n = abs(n)
count = 0

while n>=9:
    n = n//10
    count = count+1

print(count+1)

